
const webpack = require('webpack')
module.exports = {
    mode: 'development',
    target: 'web',
    devtool: 'source-map',
    devServer: {
        contentBase: ['./public'],
        compress: true,
        port: 8888,
        open: true,
        hot: true
    },
    plugins: [
        new webpack.HotModuleReplacementPlugin()
    ]
}